package View;

import javax.swing.JPanel;

import kdiapo.Resizable;
import kdiapo.CreationFrame;

public abstract class ElementView extends JPanel {
	private CreationFrame mainFrame;
	private int numElement;
	
	public ElementView(CreationFrame f,int num){
		setMainFrame(f);
		setNumElement(num);
	}
	public ElementView(int num){
		setNumElement(num);
	}

	public CreationFrame getMainFrame() {
		return mainFrame;
	}

	public void setMainFrame(CreationFrame mainFrame) {
		this.mainFrame = mainFrame;
	}

	public int getNumElement() {
		return numElement;
	}

	public void setNumElement(int numElement) {
		this.numElement = numElement;
	}
	
	
	

}
